using System;
using System.Collections.Generic;
using System.Text;
using Crm.Domain;
using Util;

namespace Ordering.Domain
{
    public class ShoppingBasket
    {
        #region Fields

        private Customer _customer;

        #endregion

        #region Constructor

        public ShoppingBasket(Customer customer)
        {
            #region Preconditions

            ArgumentValidation.ThrowIfNull(customer, "customer");

            #endregion

            _customer = customer;
        }

        #endregion

        #region Properties

        public Customer Customer
        {
            get
            {
                return _customer;
            }
        }

        #endregion
    }
}
